void setup() {
  // initialize the LED pin as an output:
	int pin = 0;
	for(pin = 8; pin < 14; ++pin) {
		pinMode(pin, OUTPUT);      
	}
}

void loop(){
  // read the state of the pushbutton value:
  int buttonState = digitalRead(2);

  // check if the pushbutton is pressed.
  // if it is, the buttonState is HIGH:
  int pin = 0;
  for(pin = 0; pin < 7; ++pin) {
	  digitalWrite(pin+7, digitalRead(pin));
  }
  delay(100);
}
